home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Windows 95 Programs
/
Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso
/
1334
/
restoref.bat
< prev
Wrap
DOS Batch File
|
1997-03-19
|
1KB
|
42 lines
@ECHO OFF
:BEGIN
ECHO THIS BATCH FILE IS CREATED BY AN KHUC<andykhuc.pipeline.com>
CHOICE DO YOU WANT TO VIEW CURRENT BACKUP.LOG FILE BEFORE STARTING?
IF ERRORLEVEL 2 GOTO WORK
IF ERRORLEVEL 1 GOTO VIEWLOG
ECHO ***********************
:VIEWLOG
IF NOT EXIST A:\BACKUP.LOG GOTO EXIT
TYPE A:\BACKUP.LOG|MORE
:WORK
BREAK ON
VERIFY ON
CHOICE Restore your configuration now?
IF ERRORLEVEL 2 GOTO CHECK
IF ERRORLEVEL 1 GOTO CONT
:CONT
ECHO RESTORATION WILL TAKE FEW MINUTES. JUST RELAX.
ECHO RESTORING ..................................
D:\LHA\LHA e -d1l2n0wd:\ A:\BACKUP
GOTO FIN
:CHECK
ECHO THIS WILL CHECK AND RESTORE YOUR CONFIGURATION TO THE CURRENT FOLDER
ECHO CHECK .........
D:\LHA\LHA t A:\BACKUP
ECHO RESTORING TO CURRENT FOLDER
D:\LHA\LHA e -a2r2l2n0wd:\ A:\BACKUP D:\LHA\
DIR D:\LHA\
ECHO YOU CAN NOW TO COMPARE THE FILES ONE BY ONE
GOTO FIN
:FIN
ECHO **************************************************
ECHO ******** RESTORE COMPLETED SUCCESSFULLY ********
ECHO ******** YOU DESERVE THE BEST ********
ECHO **************************************************
:EXIT